<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
    <title>移动端图片压缩上传demo</title>

</head>
<body>
<form action="/file/upload" method="post" enctype="multipart/form-data">
    <input type="file" name="myfile" id="myfile" value="" />
    <input type="submit" value="上传"/>
</form>

</body>
</html>